package com.cy.gameserver.config;

import com.cy.gameserver.miniServer.MiniServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * Created by tiankai.qin on 18/3/1.
 */
@Configuration
public class Config {

    @Bean
    public MiniServer miniServer() {
        return new MiniServer();
    }

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }


}
